package com.shop.service;

import com.shop.model.Course;

import java.util.List;

public interface IBuyService {

    //计算购买课程总价钱
    double buy_tprice(List<Course> courses, String studentId);

    //计算课程的优惠价
    List<Double> buy_price(List<Course> courses,String studentId);
}
